﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" Title ="Регистрация школы" MasterPageFile="~/Site.master" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .auto-style1 {
            width: 640px;
        }
        
        .auto-style4 {
            font-size: 14px;
            font-family: 'Segoe UI' ,Tahoma,arial,sans-serif;
            color: #000000;
            }
        
        .auto-style5 {
            width: 138px;
        }
        
        .auto-style6 {
            font-size: 24px;
            padding-bottom: 0px;
            margin-bottom: 0px;
            font-family: 'Segoe UI Light';
            font-weight: 400;
            line-height: normal;
            font-style: normal;
            font-variant: normal;
            text-transform: none;
            color: #000000;
            text-align: center;
            clip: rect(0px, auto, auto, auto);
            padding-top: 5px;
            height: 60px;
        }
        .auto-style7 {
            font-size: 24px;
            padding-bottom: 0px;
            margin-bottom: 0px;
            font-family: 'Segoe UI Light';
            font-weight: 400;
            line-height: normal;
            font-style: normal;
            font-variant: normal;
            text-transform: none;
            color: #000000;
            text-align: left;
            clip: rect(0px, auto, auto, auto);
            padding-top: 5px;
            height: 61px;
        }
        
        .auto-style8 {
            font-size: 14px;
            font-family: 'Segoe UI' ,Tahoma,arial,sans-serif;
            color: #000000;
            height: 33px;
        }
        .auto-style9 {
            font-size: 24px;
            padding-bottom: 0px;
            margin-bottom: 0px;
            font-family: 'Segoe UI Light';
            font-weight: 400;
            line-height: normal;
            font-style: normal;
            font-variant: normal;
            text-transform: none;
            color: #000000;
            text-align: left;
            clip: rect(0px, auto, auto, auto);
            padding-top: 5px;
            height: 60px;
        }
        
    </style>
</asp:Content>


<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>-</h2>


    <table class="auto-style1">
        <tr>
            <td class="auto-style9" colspan="2">Персональная информация</td>
            <td class="auto-style6"></td>
        </tr>
        <tr>
            <td class="auto-style4">Имя</td>
            <td class="auto-style5">
                <asp:TextBox ID="NameTextBox" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="NameTextBox" ErrorMessage="Поле обязательно для заполнения"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style4">Фамилия</td>
            <td class="auto-style5">
                <asp:TextBox ID="Surname" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Surname" ErrorMessage="Поле обязательно для заполнения"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style4">Электронный адрес</td>
            <td class="auto-style5">
                <asp:TextBox ID="Email" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Email" ErrorMessage="Поле обязательно для заполнения"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Email" ErrorMessage="Электронный адрес некорректный" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style4">Ваша позиция в школе</td>
            <td class="auto-style5">
                <asp:TextBox ID="Position" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="Position" ErrorMessage="Поле обязательно для заполнения"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style4">Контактный телефон</td>
            <td class="auto-style5">
                <asp:TextBox ID="CellPhone" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="CellPhone" ErrorMessage="Поле обязательно для заполнения"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style7" colspan="3">Информация об учебном заведении</td>
        </tr>
        <tr>
            <td class="auto-style4">Название учебного заведения</td>
            <td class="auto-style5">
                <asp:TextBox ID="SchoolName" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="SchoolName" ErrorMessage="Поле обязательно для заполнения"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style4">Тип учебного заведения</td>
            <td class="auto-style5">
                <asp:TextBox ID="SchoolType" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="SchoolType" ErrorMessage="Поле обязательно для заполнения"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style4">Страна</td>
            <td class="auto-style5">
                <asp:TextBox ID="Country" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="Country" ErrorMessage="Поле обязательно для заполнения"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style4">Город</td>
            <td class="auto-style5">
                <asp:TextBox ID="City" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="City" ErrorMessage="Поле обязательно для заполнения"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style4">Адрес</td>
            <td class="auto-style5">
                <asp:TextBox ID="Address" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="Address" ErrorMessage="Поле обязательно для заполнения"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style8" colspan="3">Регистрируясь, Вы тем самым соглашаетесь с Условиями Пользования.</td>
        </tr>
        <tr>
            <td class="auto-style4">
                &nbsp;</td>
            <td class="auto-style5">
                <asp:Button ID="SubmitButton" CssClass="button" runat="server" OnClick="Button1_Click" Text="Регистрация" />
            </td>
            <td>
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
    </table>



</asp:Content>